package com.momo.three;

import io.netty.channel.ChannelHandlerContext;
import io.netty.channel.SimpleChannelInboundHandler;

/**
 * @author Kagome
 * @title: MyChatHandler
 * @projectName boot2.X-netty
 * @description: TODO
 * @date 2019/6/1 11:18
 */
public class MyChatHandler extends SimpleChannelInboundHandler<String>{
    @Override
    protected void channelRead0(ChannelHandlerContext ctx, String msg) throws Exception {
        System.out.println(msg);
    }
}
